package com.bcxj.servicepay.client;

import com.bcxj.internalcommon.dto.OrderRequest;
import com.bcxj.internalcommon.dto.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * ClassName: ServiceOrderClient
 * Package: com.bcxj.servicepay.client
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/11/24 22:41
 * @Version 1.0
 * @Since 1.0
 */
@FeignClient("service-order")
public interface ServiceOrderClient {

    @PostMapping("/order/pay")
    ResponseResult pay(@RequestBody OrderRequest orderRequest);
}
